﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/admin/MasterPage.master" CodeFile="add.aspx.cs" Inherits="admin_articles_add" ValidateRequest="false" %>
<asp:Content id="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h1 class="admin-position">当前位置 -> 科普知识 -> 知识列表</h1>
<table cellpadding="0" cellspacing="0" class="admin-tab-table">
    <tr>
        <th>
            <ul style="margin-left:30px;">
                <li class="btn"><a href="list.aspx">科普知识</a></li>
                <li class="btn_selected"><a href="add.aspx"  class="selected">发布知识</a></li>
            </ul>
        </th>
        <th style="text-align:right;">
            <ul class="news_search">
                <li>标题</li>
                <li><input type="text" name="search" /></li>
                <li><input type="submit" value="搜索" /></li>
            </ul>
        </th>
    </tr>
</table>
<script type="text/javascript" src="../../plugins/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="../../plugins/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
    CKEDITOR.replace('ta_ckeditor');
    function datepick(){
		WdatePicker({skin:'blueFresh',dateFmt:'yyyy-MM-dd'});
	}
</script>
<form id="Form1" name="form1" method="post" runat="server">
<table cellpadding="0" cellspacing="0" class="admin-post-table">
    <tr>
        <th>标题</th><td><input name="subject" type="text" style="width:200px;" /></td>
    </tr>
    <tr>
        <th>日期</th><td><input name="eventdate" type="text" onclick='datepick();' /></td>
    </tr>
    <tr>
        <th>标签</th><td><input name="tags" type="text" /></td>
    </tr>
    <tr>
        <th>图片</th><td><asp:FileUpload ID="file" runat="server" /></td>
    </tr>
    <tr>        
        <th>内容</th><td><textarea id="ta_ckeditor" class="ckeditor" name="content" cols="20" rows="2" style="overflow:auto"></textarea></td>
    </tr>
    <tr>
        <th>外链</th><td><input name="foreign_url" type="text" style="width:300px;" /></td>
    </tr>
    <tr>
        <th style="height:30px;">置顶</th><td><input type="radio" name="settop" value="0" checked="checked" /> 不置顶 <input type="radio" name="settop" value="1"/> 置顶</td>
    </tr>
    <tr>
        <th>作者</th><td><input name="author" type="text" style="width:100px;" /></td>
    </tr>
</table>


<input type="submit" value="提交" />
</form>
</asp:Content>